package org.su.generalmvc.core;

import java.util.List;

/**
 * xssh框架包定义：包含包下的命名空间，拦截器栈
 * @author yangchuan
 *
 */
public class XsshPackage {
	
	
	public static final String DEFAULT_PACKAGE = "xssh-base";
	/**
	 * 命名空间，action的相对根地址
	 */
	private String namespace;
	
	/**
	 * 包内action url地址的后缀
	 */
	private String actionSuffix;
	
	/**
	 * 包配置作用于那些类
	 */
	private String roleIn;
	
	/**
	 * 视图目录
	 */
	private String viewdir;
	
	public String getViewdir() {
		return viewdir;
	}

	public void setViewdir(String viewdir) {
		this.viewdir = viewdir;
	}

	public String getRoleIn() {
		return roleIn;
	}

	public void setRoleIn(String roleIn) {
		this.roleIn = roleIn;
	}

	
	
	
	public String getActionSuffix() {
		return actionSuffix;
	}

	public void setActionSuffix(String actionSuffix) {
		this.actionSuffix = actionSuffix;
	}

	/**
	 * 拦截器列表，用于包下action的拦截
	 */
	private List<Interceptor> interceptorStack;
	
	public String getNamespace() {
		return namespace;
	}
	
	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}
	
	public List<Interceptor> getInterceptorStack() {
		return interceptorStack;
	}
	
	public void setInterceptorStack(List<Interceptor> interceptorStack) {
		this.interceptorStack = interceptorStack;
	}
	
	
}
